<?php 
session_start();

if (!isset($_SESSION['usuario'])) {
		die('No authorization (invalid access)'.$_SESSION['usuario']);

	header('Location: ../login');
	session_destroy();
	exit();
} else {
	if ($_SESSION['usuario']!='admin') {
		die('No authorization (invalid access)');
	}
}
?>

<!DOCTYPE html>
<html><head><title>Show Me</title>

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>

	<link rel="stylesheet" type="text/css" href="../css/kube.css" />
	<link rel="stylesheet" type="text/css" href="../css/master.css" />

	<script src="http://code.jquery.com/jquery.min.js"></script>

</head>
<body>
	<div class="units-row-end">
		<!--header id="header"-->
			<nav class="nav-tabs unit-100">
			<ul><li><a href="../">OwnBasement</a></li>
				<li><span><b>Admin</b></span></li>
				<li><a href="../index.php?content=Films">Films</a></li>
				<li><a href="../index.php?content=TVSeries">TV Series</a></li>
				<li><a href="ebooks.php">eBooks</a></li>'
				<li><a href="musica.php">eMusic</a></li>
				<li><a href="Mediaplayer">Media Player</a></li>
				<li><a href="filemanager.php">File Manager</a></li>
				<li><a href="#">Wiki</a></li><li><a href="#">Blog</a></li></ul>
			</nav>		
	</div>

	<div style="width: 50%; margin: auto; text-align: center;" >
			<h1>Show Me</h1>
			<h2>Administration</h2>

	</div>
		
		<div id="main">

<div class="units-row units-row-double-end">
	<div class="unit-50 unit-centered box-inner box-inner-double">
			<div class="units-row-end">
				<nav class="nav-tabs nav-tabs-v unit-30">
					<ul>
						<li><a href="#">Users</a></li>
						<li><span><b>Config</b></span></li>
					</ul>
				</nav>
				<section class="unit-70">
					...
				</section>
			</div>
	</div>

</div>

		</div>

		<footer id="footer">
			<nav class="nav-g">
				<ul><li><a href="../login/about.html">About</a></li><li><a href="/wiki/">Wiki</a></li>
</ul>
			</nav>
			<p>&copy; Bigbank 2013</p>
		</footer>

	</div>
</body>
</html>
